<?php
$globalConfig = include APP_PATH. '../data/global.php';
$dbConfig = include APP_PATH. '../data/database.php';
$commonConfig =  array(
    'DEFAULT_MODULE'       =>    'Home',
    'URL_ROUTER_ON'   => true,
    'URL_ROUTE_RULES'=>array(
        'index' => array('Home/Index/index'),
        'login' => array('Home/Index/login'),
        'about' => array('Home/Index/about'),
        'pages' => array('Home/Index/pages'),
        'tpl' => array('Home/Index/tpl'),
        'info' => array('Home/User/info'),
        'password' => array('Home/User/password'),
        'chat/:id'               => 'Home/Message/chat',
        'news/read/:id'          => '/news/:1'
    )
);
return array_merge($commonConfig,$globalConfig, $dbConfig);